//
//  LBProgressView.h
//  LBProgressView
//
//  Created by LINAICAI on 2018/4/2.
//

#import <UIKit/UIKit.h>

@interface LBProgressView : UIControl
///设置是否可以回溯
@property (nonatomic , assign)BOOL canGoback;
@property (nonatomic , assign)NSUInteger maxSelectIndex;  // 最大的可选节点，默认titles的个数
@property (nonatomic , copy)void (^select)(NSUInteger index);
- (instancetype)initWithTitle:(NSArray<NSString *> *)titles frame:(CGRect)frame;

- (void)setSelectIndex:(NSUInteger)selectIndex animated:(BOOL)animated;

@end
